﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Landscape.WebApp.Internal.Admin
{
    public partial class MachineTemplate : BasePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            this.PageTitle = "Machinery Template Management";
            base.Page_Load(sender, e);

           /* if (this.CanSearch)
            {
                if (this.rtbModuleActions.FindItemByValue("SEARCH") != null)
                { this.rtbModuleActions.FindItemByValue("SEARCH").Visible = false; }
            }

            if (this.CanEdit)
            {
                if (this.rtbModuleActions.FindItemByValue("NEW") != null)
                { this.rtbModuleActions.FindItemByValue("NEW").Visible = false; }

                if (this.rtbModuleActions.FindItemByValue("SAVE") != null)
                { this.rtbModuleActions.FindItemByValue("SAVE").Visible = false; }
            }

            if (this.CanDelete)
            {
                if (this.rtbModuleActions.FindItemByValue("DELETE") != null)
                { this.rtbModuleActions.FindItemByValue("DELETE").Visible = false; }
            }*/
        }
    }
}